Skip to content

Minor fixes: warnings, CI, and test stability#14209

Open
HTRamsey wants to merge 1 commit intomavlink:masterfrom
HTRamsey:fix/minor-cleanups
Open

Minor fixes: warnings, CI, and test stability#14209
HTRamsey wants to merge 1 commit intomavlink:masterfrom
HTRamsey:fix/minor-cleanups

Conversation

@HTRamsey
Copy link
Copy Markdown
Collaborator

Summary

  • earcut_hpp: Use CPM SYSTEM YES instead of qgc_disable_dependency_warnings for INTERFACE library
  • Geoclue2 warning: Set setDesktopFileName using QGC_PACKAGE_NAME macro to silence qt.positioning.geoclue2 warning
  • Docs CI: Add checkout step in deploy jobs so local composite action (.github/actions/deploy-docs) is available
  • GStreamer test: Skip _testIsValidRtspUri under AddressSanitizer (times out at 300s)
  • macOS codesigning: Parallelize codesign invocations for faster bundle signing

Test plan

  • Verify CMake configure succeeds without earcut_hpp warning
  • Verify Geoclue2 warning no longer appears on Linux
  • Verify docs deploy workflow succeeds in CI
  • Verify GStreamer test suite passes with and without ASAN
  • Verify macOS codesigning completes successfully

Copilot AI review requested due to automatic review settings March 25, 2026 07:06
@github-actions github-actions bot added github_actions Pull requests that update GitHub Actions code CMake Tests size/XS labels Mar 25, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bundles a set of small build/CI/test fixes across the QGroundControl codebase, aiming to reduce warnings, improve CI reliability, stabilize sanitizer runs, and speed up macOS bundle signing.

Changes:

  • Skip a flaky GStreamer RTSP URI validation test under AddressSanitizer.
  • Add QGC_PACKAGE_NAME and use it for setDesktopFileName to silence Geoclue2 warnings.
  • Adjust CI doc deploy workflows to use the local .github/actions/deploy-docs action and parallelize macOS codesigning.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/VideoManager/GStreamer/GStreamerTest.cc Skips a specific RTSP URI validation test under ASan to avoid timeouts.
src/qgc_version.h.in Adds QGC_PACKAGE_NAME macro to the generated version header.
src/Viewer3D/Providers/Osm/CMakeLists.txt Uses CPM’s SYSTEM YES for earcut_hpp to suppress dependency warnings.
src/QGCApplication.cc Sets the desktop file name using QGC_PACKAGE_NAME to address Qt Positioning/Geoclue2 warnings.
cmake/install/SignMacBundle.cmake Introduces parallel codesign helper and adjusts framework signing flow.
.github/workflows/doxygen_deploy.yml Adds a checkout step intended to make the local deploy-docs action available.
.github/workflows/docs_deploy.yml Adds a checkout step intended to make the local deploy-docs action available.

@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch from fbb5341 to 02951b5 Compare March 25, 2026 07:22
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 25, 2026

Build Results

Platform Status

Platform Status Details
Linux Passed View
Windows Passed View
MacOS Passed View
Android Passed View

All builds passed.

Pre-commit

Check Status Details
pre-commit Failed (non-blocking) View

Pre-commit hooks: 4 passed, 32 failed, 7 skipped.

Test Results

linux-coverage: 67 passed, 0 skipped
linux-sanitizers: 67 passed, 0 skipped
Total: 134 passed, 0 skipped

Code Coverage

Coverage: 57.4%

No baseline available for comparison

Artifact Sizes

Artifact Size
QGroundControl 247.26 MB
QGroundControl 337.52 MB
QGroundControl-aarch64 176.89 MB
QGroundControl-installer-AMD64 134.93 MB
QGroundControl-installer-AMD64-ARM64 77.57 MB
QGroundControl-installer-ARM64 106.28 MB
QGroundControl-mac 188.32 MB
QGroundControl-windows 188.36 MB
QGroundControl-x86_64 163.09 MB
No baseline available for comparison---
Updated: 2026-03-27 13:51:31 UTC • Triggered by: Android

@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch 4 times, most recently from b377291 to 8cd4978 Compare March 25, 2026 12:48
@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch from 8cd4978 to 7a6752c Compare March 25, 2026 13:01
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@6515cd3). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #14209   +/-   ##
=========================================
  Coverage          ?   25.50%           
=========================================
  Files             ?      740           
  Lines             ?    67734           
  Branches          ?    31520           
=========================================
  Hits              ?    17278           
  Misses            ?    37754           
  Partials          ?    12702           
Flag Coverage Δ
unittests 25.50% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6515cd3...e9eb433. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@HTRamsey HTRamsey force-pushed the fix/minor-cleanups branch 4 times, most recently from b59c9f9 to 0b5a1ac Compare March 27, 2026 10:48
@github-actions github-actions bot added size/L and removed size/M labels Mar 27, 2026
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

- Fix release-note-label workflow permissions (pull-requests: write)
- Replace Trivy artifact scan with Grype CPM SBOM scan in Docker workflow
- Add generate_cpm_sbom.py: parses CMakeCache for CPM dependency metadata,
  emits CycloneDX 1.6 JSON with purls and commit hashes for vulnerability scanning
- Remove unused .github/trivy.yaml
@github-actions github-actions bot removed the size/L label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants